package org.dromara.wms.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 跟物品有关的订单对象 wms_order
 *
 * @author wenrui
 * @date 2024-03-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_order")
public class WmsOrder extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 库单ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 单据名称
     */
    private String name;

    /**
     * 单据类型
     */
    private Long typeId;

    /**
     * 客户
     */
    private Long partnerId;

    /**
     * 己方仓库id
     */
    private Long selfWhId;

    /**
     * 对方仓库id
     */
    private Long otherWhId;

    /**
     * 单据状态
     */
    private String status;

    /**
     * 单据来源id
     */
    private Long sourceId;

    /**
     * 生产厂商
     */
    private Long manufacturerId;

    /**
     * 申请人
     */
    private Long applicantId;

    /**
     * 发货员
     */
    private Long execId;

    /**
     * 备注
     */
    private String remark;


}
